<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Food_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-food_id" data-rule="required" data-source="food/index" class="form-control selectpage" name="row[food_id]" type="text" value="{$row.food_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Calcium')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-calcium" data-rule="required" class="form-control" name="row[calcium]" type="text" value="{$row.calcium|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Carbohydrates')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-carbohydrates" data-rule="required" class="form-control" name="row[carbohydrates]" type="text" value="{$row.carbohydrates|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cholesterol')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cholesterol" data-rule="required" class="form-control" name="row[cholesterol]" type="text" value="{$row.cholesterol|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Copper')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-copper" data-rule="required" class="form-control" name="row[copper]" type="text" value="{$row.copper|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dietary_fiber')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dietary_fiber" data-rule="required" class="form-control" name="row[dietary_fiber]" type="text" value="{$row.dietary_fiber|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Energy')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-energy" data-rule="required" class="form-control" name="row[energy]" type="text" value="{$row.energy|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fat" data-rule="required" class="form-control" name="row[fat]" type="text" value="{$row.fat|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Iron')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-iron" data-rule="required" class="form-control" name="row[iron]" type="text" value="{$row.iron|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Magnesium')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-magnesium" data-rule="required" class="form-control" name="row[magnesium]" type="text" value="{$row.magnesium|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Manganese')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-manganese" data-rule="required" class="form-control" name="row[manganese]" type="text" value="{$row.manganese|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phosphorus')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phosphorus" data-rule="required" class="form-control" name="row[phosphorus]" type="text" value="{$row.phosphorus|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Potassium')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-potassium" data-rule="required" class="form-control" name="row[potassium]" type="text" value="{$row.potassium|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Protein')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-protein" data-rule="required" class="form-control" name="row[protein]" type="text" value="{$row.protein|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Saturated')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-saturated" data-rule="required" class="form-control" name="row[saturated]" type="text" value="{$row.saturated|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sodium')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sodium" data-rule="required" class="form-control" name="row[sodium]" type="text" value="{$row.sodium|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sugar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sugar" data-rule="required" class="form-control" name="row[sugar]" type="text" value="{$row.sugar|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Trans_fat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-trans_fat" data-rule="required" class="form-control" name="row[trans_fat]" type="text" value="{$row.trans_fat|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vitamin_c')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vitamin_c" data-rule="required" class="form-control" name="row[vitamin_c]" type="text" value="{$row.vitamin_c|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zinc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zinc" data-rule="required" class="form-control" name="row[zinc]" type="text" value="{$row.zinc|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weight" data-rule="required" class="form-control" step="0.01" name="row[weight]" type="number" value="{$row.weight|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
